import Vue from 'vue'
import App from './App.vue'

Vue.config.productionTip = false

Vue.directive('color', {
  inserted (el, binding) {
    // console.log(binding)
    // console.log(el.innerHTML)
    const a = el.innerHTML - 0
    if (a >= 100) {
      el.style.color = binding.value
    }
  }
})

new Vue({
  render: h => h(App)
}).$mount('#app')
